﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Skywave.Reporting
{
    internal class HtmlReportFieldGetContentArgs : ICloneable
    {
        public HtmlReport Report { get; set; }
        public object Value { get; set; }
        public object DataItem { get; set; }
        public System.IO.DirectoryInfo ContentsDirectory { get; set; }
        public int IndexDataItem { get; set; }
        public int IndexField { get; set; }

        public object Clone()
        {
            HtmlReportFieldGetContentArgs r = new HtmlReportFieldGetContentArgs();
            r.Report = this.Report;
            r.Value = this.Value;
            r.DataItem = this.DataItem;
            r.ContentsDirectory = this.ContentsDirectory;
            r.IndexDataItem = this.IndexDataItem;
            r.IndexField = this.IndexField;
            //
            return r;
        }
    }
}
